#pragma once
#include "Executive.h"

#include <Flybox.h>
#include <CVSElapsedTimer.h>

class CExecutiveFlybox : public CExecutive
{
public:
    CExecutiveFlybox(CData& rcData_, CGfx& rcGfx_);;
    ~CExecutiveFlybox(void);

    virtual void Init();

protected:
    virtual bool CheckForTrigger();
    virtual void ClearTrigger() {};
    virtual void UpdateDuringRun(const int& nCurrFrameIdx_);
    virtual void ResetControl() {};

private:
    void            CleanUp();
    bool            CheckForTriggerHelper();
    CFlybox         _cFly;

    CVSElapsedTimer _cFlyTimer;
};
